package com.cg.service;

import com.cg.ai.guardrail.InterviewInputGuardrail;
import dev.langchain4j.service.*;
import dev.langchain4j.service.guardrail.InputGuardrails;
import reactor.core.publisher.Flux;

/**
 * 面试AI服务接口
 * 专门用于面试场景，支持更长的输入内容
 */
@InputGuardrails({InterviewInputGuardrail.class})
public interface InterviewAiService {

    /**
     * 面试流式对话功能
     * @param memoryId 会话记忆ID
     * @param userMessage 用户消息
     * @return 流式响应
     */
    Flux<String> chatStream(@MemoryId int memoryId, @UserMessage String userMessage);
}
